package kingone.phone_store_spring_practice.service;

import kingone.phone_store_spring_practice.dto.OrderDTO;
import kingone.phone_store_spring_practice.vo.OrderDetailVO;

public interface OrderService {
    //将前端发送过来的orderDTO对象，经过解析与后端执行后，重新返回一个对象给前端
    public OrderDTO create(OrderDTO orderDTO);

    //2. 查询订单详情
    public OrderDetailVO findOrderDetailByOrderId(String orderId);

    //3.设置支付状态
    public String pay(String orderId);
}
